<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<f:view>
<h:form id="createUser">
	<b><h:outputText value="Create New User"/></b>
	<br>
	<table>
	
	<tr><td><h:outputText value="Email Address"/></td><td><h:inputText id="emailAddress" value="#{createUserHandler.emailAddress}"/> <h:message for="emailAddress" style="color: #ff0000" /></td></tr>
	<tr><td><h:outputText value="Password"/></td><td><h:inputSecret id="password" value="#{createUserHandler.password}"/></td> <h:message for="password" style="color: #ff0000" /></tr>
	<tr><td><h:outputText value="Phone Number"/></td><td><h:inputText id="phoneNumber" value="#{createUserHandler.phoneNumber}"/> <h:message for="phoneNumber" style="color: #ff0000" /></td></tr>
	<tr><td><h:outputText value="Name"/></td><td><h:inputText id="name" value="#{createUserHandler.name}"/> <h:message for="name" style="color: #ff0000" /></td></tr>
	
	</table>
	
	<h:commandButton action="#{createUserHandler.submit}" value="create"/>
	<h:inputHidden id="general"></h:inputHidden>
	<h:message for="general" style="color: #ff0000" />
</h:form>
</f:view>
</body>
</html>